#include"manager.h"

Manager::Manager(int ID,string name,int depID)
{
    this->m_DepID = depID;
    this->m_ID = ID;
    this->m_Name = name;
}

//现实员工信息
void Manager::showInfo()
{
    cout << "职工编号：" << this->m_ID
         << "\t职工姓名：" << this->m_Name
         << "\t岗位：" << this->getDepName()
         << "\t岗位职责：完成老板交代的任务,并下发给员工" << endl;
}

//获取岗位信息
string Manager::getDepName()
{
    return string("经理");
}
